﻿using System.Collections.Generic;
using System.Xml.Serialization;
using ExpertSystem.Domains;

namespace ExpertSystem.Interfaces
{
    public interface IRule
    {
        string Name { get;}

        List<IConjunct> Conjuncts { get;}

        string Comments { get; }

        bool CanBeResolved();

        bool IsActivated();

        void Resolve();

        bool Activated();

        bool IsReternedValueEquals(IVariable variable);

        IVariable ReternebleVariable { get; }

        IVariable CanNotBeResolvedVariable();

        bool CanBeAvtivated();
    }
}
